Part Number Hot Search : 
PP1679 CS924 P146T 673AB IC18F L9104 294023 294023
Product Description
Full Text Search
 

To Download USBMULTILINKBDM Datasheet File

  If you can't view the Datasheet, Please click here to try to view without PDF Reader .  
 
 


  Datasheet File OCR Text:
  p&e microcomputer systems, inc. p.o. box 2044, woburn, ma 01888, usa tel: (617) 353-9206 fax: (617) 353-9205 http://www.pemicro.com usb hcs08/hcs12 multilink rev a technical summary 1. introduction 2. usage of the hcs08/hcs12 multilink interface 3. driver installation on windows xp/2000 4. computers running windows 95, 98, me, and nt 5. using a usb hub 6. connecting to the target 7. startup reset sequence 8. interface libraries 9. firmware updates 1.0 introduction p&es usb hcs08/hcs12 multilink interface provides access to the background debug mode (bdm) on motorola hcs08, hc12 and hcs12 microcontrollers. it is the hardware interface between a usb port on a windows 2000 or xp machine and the standard 6 pin berg debug connector on the target. by using the usb hcs08/hcs12 multilink, the user can take advantage of the background debug mode to halt normal processor execution and use a pc to control the processor. the user can then directly control the targets execution, read/write registers and memory values, debug code on the processor, and program internal or external flash memory devices. the pinouts of the connector as specified by motorola are: 1 3 5 2 4 6 bkgd nc nc gnd reset vdd f r e e s c a l e s e m i c o n d u c t o r , i freescale semiconductor, inc. f o r m o r e i n f o r m a t i o n o n t h i s p r o d u c t , g o t o : w w w . f r e e s c a l e . c o m n c . . .
2.0 usage of the usb hcs08/hcs12 multilink interface the usb hcs08/hcs12 multilink can communicate with an hcs08, hc12, or hcs12 processor whose bus frequency is between 32 khz and 35 mhz. p&es software packages will automatically detect the proper communications rate to establish a connection with the target. for hc12/hcs12 devices, the bdm communications speed may be set (instead of being auto-detected) by setting the value of the io_delay_cnt variable. the proper io_delay_cnt may be calculated by the equation: io_delay_cnt = (100000000 / fbus) C 1 fbus is the bus frequency in hertz. the hcs08 frequency is always detected automatically. the multilink interface will work with targets whose processor power supply is in the range of 1.6v to 5.25v. the multilink interface derives its power from the usb port and as such draws less than 1ma from the target. the usb hcs08/hcs12 multilink has a female type b usb connector. use a type a to type b usb extension cable to connect the interface to the pc. the usb hcs08/hcs12 multilink is a high power usb device. if a usb hub is used, it must be a self powered hub (i.e. with a power supply). by default, the usb protocol used is 1.1. there are two leds which protrude through the housing of the usb hcs08/hcs12 multilink interface. the blue led indicates that the multilink interface is powered and running. the yellow led indicates that target power has been detected. the 6-pin ribbon cable, which allows connection to the target debug connector, is fixed within the multilink housing. the pin 1 is denoted by the red stripe running down the ribbon cable. the proper orientation of this ribbon cable is shown in the following picture. f r e e s c a l e s e m i c o n d u c t o r , i freescale semiconductor, inc. f o r m o r e i n f o r m a t i o n o n t h i s p r o d u c t , g o t o : w w w . f r e e s c a l e . c o m n c . . .
3.0 driver installation on windows xp/2000 before connecting the usb hcs08/hcs12 multilink to the pc, the appropriate drivers need to be installed on the pc. the drivers are automatically installed when installing any of p&es hcs08/hc12/hcs12 development packages built after july 1, 2003. a copy of the driver installation program may also be downloaded from the downloads section of p&es support center located at http://www.pemicro.com . p&e installs the following usb drivers/files on your system: peusbftdun.exe ---> [windows\system] peusbv1.dll ---> [windows\system] peusbv1.sys ---> [windows\system]\drivers pemicro_usbcable_auto.inf ---> [windows]\inf note: in general [windows\system] = \winnt\system32 for xp, 2000 when the usb hcs08/hcs12 multilink is detected, the operating system will automatically scan all the .inf files in the [windows]\inf directory to try and find a match for the detected hardware. the operating system should then indicate that it has found a driver for the attached p&e usb device. follow the instructions in the found new hardware wizard dialog for having windows automatically install the driver. if you connected the multilink interface prior to installing the drivers, windows will not have been able to find the appropriate driver and may have disabled the device. if you unplug and re-plug in the device, windows will automatically disable it even if you have installed the drivers. to force windows to try and load the driver again, perform the following steps while the usb hcs08/hcs12 multilink interface is plugged into the computer: 1.) open the control panel (start button->settings->control panel) 2.) double click the system icon 3.) select the hardware tab 4.) click the device manager button 5.) the p&e hcs08/hcs12 multilink device will be shown with an exclamation mark next to it. double click this device. 6.) click the reinstall driver button and follow the dialog instructions for having windows automatically install the driver. if you have purchased one of p&es software development packages prior to july 1, 2003, contact p&e to obtain the latest version which supports the usb hcs08/hcs12 multilink interface (support for the cable is separate from the windows usb drivers). if you are using third party software, make sure you have a version which supports the usb hcs08/hcs12 multilink interface. 4.0 computers running windows 95, 98, me, and nt the usb hcs08/hcs12 multilink is not supported under windows 95, windows 98, windows millenium edition (me), and windows nt. for these operating systems, p&e produces the bdm multilink which connects the parallel port on the pc to the 6-pin debug connector on the target. for more information, visit http://www.pemicro.com . f r e e s c a l e s e m i c o n d u c t o r , i freescale semiconductor, inc. f o r m o r e i n f o r m a t i o n o n t h i s p r o d u c t , g o t o : w w w . f r e e s c a l e . c o m n c . . .
5.0 using a usb hub the usb hcs08/hcs12 multilink is classified as a high power usb device which is powered from the usb bus. a high power device requires that if a usb hub is used, it must be a self powered hub. this means that it has a separate power supply from which it derivers its operating power (as opposed to deriving its power from the pc). it must be able to supply 500ma per port (a high power usb device may derive up to 500ma from the port). p&e has made a powered hub available as an accessory which has been tested with the usb hcs08/hcs12 multilink. details may be found at http://www.pemicro.com. 6.0 connecting to the target the following is the proper connection sequence to connect the pc to the target system via the usb hcs08/hcs12 multilink interface: 1) make sure the target power is off and the usb hcs08/hcs12 multilink is not connected to either the target or the pc 2) connect the multilink to the target via its ribbon cable. make sure that the ribbon cable is plugged into the target with the proper orientation. 3) connect the multilink to the pc via a usb extension cable. the blue led on the multilink should become lit. 4) turn the target power on. the yellow led on the multilink should become lit. before disconnecting the setup, turn the target power off. 7.0 startup reset sequence in order to use the background debug mode of the microcontroller, it is initialized into debug mode via a reset sequence. this is accomplished by p&es software via the following reset sequence: rst 5msec bkgd 10msec 20msec a) initially the bkgd (pin-1) and reset (pin-4) are pulled low. b) after 5 milliseconds, the reset (pin-4) goes high. c) after 10 milliseconds, the bkgd (pin-1) goes high. d) wait for 20milli second followed by activities on bkgd (pin-1). 8.0 interface libraries one of the products p&e produces is a set of interface libraries which allows the user to directly control the usb hcs08/hcs12 multilink from any windows development environment which can interact with a dll. the interface libraries come with examples for controlling the multilink interface from microsoft visual c as well as borland delphi. details of the libraries for the hcs08 may be found at http://www.pemicro.com/products/68hcs08.html . details of the libraries for the hcs12 and hc12 may be found at http://www.pemicro.com/products/68hc12.html . f r e e s c a l e s e m i c o n d u c t o r , i freescale semiconductor, inc. f o r m o r e i n f o r m a t i o n o n t h i s p r o d u c t , g o t o : w w w . f r e e s c a l e . c o m n c . . .
9.0 firmware updates the latest version of the firmware for the multilink interface is included in the p&e software development kits. when the debugger or programmer is run, if it detects that the multilink interface firmware needs to be updated, it will ask the users permission to do this. if given, the update happens automatically. alternately, the latest version of the firmware may be downloaded from the firmware updates section of the support center located at http://www.pemicro.com . this firmware includes a utility which may be used to run the firmware update. f r e e s c a l e s e m i c o n d u c t o r , i freescale semiconductor, inc. f o r m o r e i n f o r m a t i o n o n t h i s p r o d u c t , g o t o : w w w . f r e e s c a l e . c o m n c . . .


▲Up To Search▲   

 
Price & Availability of USBMULTILINKBDM

All Rights Reserved © IC-ON-LINE 2003 - 2022  

[Add Bookmark] [Contact Us] [Link exchange] [Privacy policy]
Mirror Sites :  [www.datasheet.hk]   [www.maxim4u.com]  [www.ic-on-line.cn] [www.ic-on-line.com] [www.ic-on-line.net] [www.alldatasheet.com.cn] [www.gdcy.com]  [www.gdcy.net]


 . . . . .
  We use cookies to deliver the best possible web experience and assist with our advertising efforts. By continuing to use this site, you consent to the use of cookies. For more information on cookies, please take a look at our Privacy Policy. X